<template>
  <div>
    <Child />
  </div>
</template>

<script>
import Child from "./Child";
export default {
  name: "App",
  // 给后台组件传递的数据
  provide: {
    name: 'jack',
    age: 18
  },
  components: {
    Child,
  },
};
</script>

<style>
</style>